package com.doge.controller.wx;

import com.doge.bean.base.BaseRespVo;
import com.doge.bean.vo.issue.WxIssueListVo;
import com.doge.service.wx.issue.WxIssueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: doge
 * @description: 帮助中心
 * @author: Mr.Jiang
 * @create: 2021-12-04 09:29
 **/
@RestController
@RequestMapping("wx/issue")
public class WxIssueController {
    @Autowired
    WxIssueService wxIssueService;
    @RequestMapping("list")
    public BaseRespVo list(Integer page,Integer limit){
        WxIssueListVo wxIssueListVo=wxIssueService.list(page,limit);
        return BaseRespVo.ok(wxIssueListVo);
    }
}
